﻿<%@ Page Title="审核用户" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ToCheckUser.aspx.cs" Inherits="OUSMS.ToCheckUser" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="topchannel">
        审核用户
    </div>
    <asp:FormView ID="userInfoFormView" runat="server"
        ItemType="OUSMS.AppLogic.DataAccessLayer.Users"
        SelectMethod="GetUsersByID">
        <ItemTemplate>
            <table class="table1" border="0" cellspacing="1" cellpadding="2">
                <tr class="row1">
                    <td style="width: 15%"><b>登录名</b></td>
                    <td style="width: 35%"><%# Item.LoginName %></td>
                    <td style="width: 15%"><b>注册时间</b></td>
                    <td style="width: 35%"><%# Item.CreateDateTime.ToString("yyyy/MM/dd HH:mm") %></td>
                </tr>
                <tr class="row2">
                    <td><b>性别</b></td>
                    <td><%# Item.Gender %></td>
                    <td><b>姓名</b></td>
                    <td><%# Item.Name %></td>
                </tr>
                <tr class="row1">
                    <td><b>邮件</b></td>
                    <td><%# Item.Email %></td>
                    <td><b>电话</b></td>
                    <td><%# Item.Phone %></td>
                </tr>
                <tr class="row2">
                    <td><b>职称</b></td>
                    <td><%# Item.Titles.Name %></td>
                    <td><b>职务</b></td>
                    <td><%# Item.Position %></td>
                </tr>
                <tr class="row1">
                    <td><b>一级部门</b></td>
                    <td><%# Item.Departments.Name %></td>
                    <td><b>二级部门</b></td>
                    <td><%# Item.SecondDepartments.Name %></td>
                </tr>
                <tr class="row2">
                    <td colspan="4"><b>个人介绍</b></td>
                </tr>
                <tr class="row1">
                    <td colspan="4" style="word-wrap: break-word; word-break: break-all;"><%# Item.Introduction %></td>
                </tr>
                <tr class="row2">
                    <td colspan="4"><b>研究领域</b></td>
                </tr>
                <tr class="row1">
                    <td colspan="4" style="word-wrap: break-word; word-break: break-all;">
                        <asp:Label ID="studyAreaLbl" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr class="row2">
                    <td colspan="4"><b>审核用户</b></td>
                </tr>
                <tr class="row1">
                    <td><b>审核意见</b></td>
                    <td colspan="3">
                        <asp:TextBox ID="approveCommentTxtBox" runat="server" TextMode="MultiLine" Rows="4" Width="95%"></asp:TextBox>
                    </td>
                </tr>
                <tr class="row1">
                    <td><b>审核结论</b></td>
                    <td colspan="3">
                        <asp:RadioButtonList ID="approveResultRBL" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                            <asp:ListItem Text="通过" Value="True" Selected="True"></asp:ListItem>
                            <asp:ListItem Text="不通过" Value="False"></asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr class="row1">
                    <td colspan="4">
                        <asp:Label ID="errorMsgLbl" runat="server" Visible="false" ForeColor="Red" BorderColor="Red"
                            BorderWidth="1px" BorderStyle="Solid" Width="100%" CssClass="validationsummary"></asp:Label></td>
                </tr>
                <tr class="row2">
                    <td colspan="4" align="center" style="font-weight: bold">
                        <asp:Button ID="submitBtn" runat="server" BackColor="Gray" Text="提  交" Width="80px" Height="25px" OnClick="submitBtn_Click" /></td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:FormView>
</asp:Content>
